package cn.npe.di;


import cn.npe.di.annotation.DI;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @DI
    private TestService testService;

//    @DI
//    private void setTestService(TestService testService,){
//        this.testService=testService;
//    }

    public void test(){
        testService.hello();
    }
}
